﻿@{
    if (this.Request.Form["Button1"] == "button")
    {
        MyModel.registration.ExecuteInsert(this.Request.Form["TxtUsername"], this.Request.Form["TxtPassword"], this.Request.Form["TxtName"],
            this.Request.Form["TxtWeb"], this.Request.Form["TxtCompany"], this.Request.Form["TxtStreet"], this.Request.Form["TxtCity"],
            this.Request.Form["TxtProvince"], this.Request.Form["TxtCountry"]);
    }
    Page.Title = "Laos Traveller - Join";
    Layout = "LaosLayout.cshtml"; 
}

<h1>
    Laos Traveller - Join Us</h1>
    <div class="innerpage">
    <h1>
    Under construction! Do not use!!</h1>

    <br />
<p>
    <b>Personal Info</b>
    </p>
    <p>
   <span class="ddlabelscontact"> Email:</span>
            <input type="text" id="TxtUsername" class="ddtextboxes"/>
            </p>
              <p>
    &nbsp;</p>
        <p>
              <span class="ddlabelscontact">Password:</span>
            
                <input type="text" id="TxtPassword" class="ddtextboxes"/>
            </p>
              <p>
    &nbsp;</p>
        <p>
      <span class="ddlabelscontact">Name:</span> 
          <input type="text" id="TxtName" class="ddtextboxes"/>
            </p>
              <p>
    &nbsp;</p>
            <p>
               <span class="ddlabelscontact"> Last Name: </span>
                <input type="text" id="TxtLname" class="ddtextboxes"/>
            </p>
      
      <p>
    &nbsp;</p>
    <p>
    <b>Additional info</b>
    </p>
    <p>
    <span class="ddlabelscontact">Website:</span>
               <input type="text" id="TxtWeb" class="ddtextboxes"/>
            </p>
            <br />
        <p>
       <span class="ddlabelscontact"> Company name:</span>
            <input type="text" id="TxtCompany" class="ddtextboxes"/>
            </p>
            <br />
        <p>
              <span class="ddlabelscontact">Street:</span>
                <input type="text" id="TxtStreet" class="ddtextboxes"/>
            </p>
            <br />
         <p>
              <span class="ddlabelscontact">City:</span>
                <input type="text" id="TxtCity" class="ddtextboxes"/>
            </p>
            <br />
         <p>
              <span class="ddlabelscontact">Province:</span>
                <input type="text" id="TxtProvince" class="ddtextboxes"/>
            </p>
            <br />
               <p>
              <span class="ddlabelscontact">Country:</span>
                <input type="text" id="TxtCountry" class="ddtextboxes"/>
            </p>
    <br />
    <span class="ddlabelscontact"></span>
    <textarea cols="2" rows="20" placeholder="Please add any comments here, or additional information" style="height: 200px; width: 320px;"></textarea>
    <br />
    <p>
    <input type="checkbox" value="Y"/>
    <span>I confirm that I agree with terms & conditions<a href="aboutus">Terms & conditions</a></span>
    </p>
    <p>
    <input type="submit" id="Submit" value="Signup" onclick="alert('Not in use!!!')";/>
        </p>
</div>
